const {onMounted, ref, watch, useTemplateRef} = Vue; // 使用全局 Vue 对象
const {me} = EovaUI
const {x} = EovaTools

uzoo.vue.setup = () => {

    const inputRef = useTemplateRef('inputRef');

    onMounted(() => {
        console.log("hotel app setup onMounted")
        if (inputRef.value) {
            me.layer.ok(inputRef.value.value)
        }
    })

    const txt = ref(123)

    const num = ref(1)
    const field = ref({en: 'test'})

    // 定义变量
    const rangeTime = ref([])

    const confs = me.conf.getAll();
    return {
        confs,
        num,
        field,
        txt,
        rangeTime
    }
}